How to set or change a primary key for a table.





In the Table Design view, select the field or fields that are to be the primary key. Then select the 'Edit' menu and select 'Primary Key'.

    1) If the Database window is not active, activate the Database window.
    2) Go to the Table Design view.
    3) Select the field or fields that are to be the primary key:

      a) Place the cursor over the 'Row Selector' for the desired field. (The cursor turns into a down arrow.)
      NOTE: Each row contains all of the information for a single field (the field name, the data type, the description).
      b) Click the mouse button. (The field is highlighted.)
      NOTE 1: To select more than one adjacent field, press and hold down SHIFT while selecting the 'Row Selector' for each field.
      NOTE 2: To select more than one non-adjacent field, press and hold down CTRL while selecting the 'Row Selector' for each field.

    4) Select the 'Edit' menu and select 'Primary Key'.


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.